/**
 Copyright (C) 2013 Yuyao Liang

 This source code is release under the BSD License.

 This program is distributed in the hope that it will be useful, but WITHOUT
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 FOR A PARTICULAR PURPOSE.  See the license for more details.

 Created on Dec 3, 2013 1:56:38 PM
 */
package com.googlecode.backtest.dataset.manager;

import java.util.EventObject;

/**
 * @author lianyuy
 * 
 */
public class DataReadyEvent extends EventObject {

	private static final long serialVersionUID = -4742054239341028983L;
	private IDataManager manager;
	private String key;

	/**
	 * @param key
	 */
	public DataReadyEvent(IDataManager manager, String key) {
		super(key);
		this.manager = manager;
		this.key = key;
	}

	/**
	 * @return the manager
	 */
	public IDataManager getManager() {
		return manager;
	}

	/**
	 * @return the key
	 */
	public String getKey() {
		return key;
	}

}
